# -*- coding: utf-8 -*-
"""
@date: 2020/12/4 21:20
@file: oo.py
@author: lilong
@desc: 
"""


class A:
    def __init__(self):
        self.name = 'from __dicts__: zdy'
        # self._token_pad = 99

        id_ = getattr(self, '_token_%s' % "pad")
        print(id_)
        setattr(self, '_token_%s_id' % "pad", id_)

mm = A()
print(mm._token_pad_id)